package com.yssoft.mapper.core;

import java.util.List;
import java.util.Map;

import com.yssoft.entity.core.TCode;
import tk.mybatis.mapper.common.Mapper;

public interface TCodeMapper extends Mapper<TCode> {
    /**
     * 根据条件获取码表数据
     */
    List<TCode> findCodeByParam(Map<String, Object> params);

    /**
     * 按字典表ID获取字典信息
     *
     * @param id
     * @return
     */
    TCode queryCodeById(int id);

}